using System;
using System.Collections.Generic;
using System.Text;
using ProgramLogger;

namespace TestLogger
{
    class Program
    {
        static void Main(string[] args)
        {
            // Init log
            // (if you use this constructor, the log-file will be opened automatically)
            LogFile Log = new LogFile("test.log", false, LogFile.LogType.TXT);
            
            // Write some text to the log
            Log.Log("START LOG");
            Log.LogInfo("LogText started");
            Log.LogError("An error occured :(");
            Log.Log("CLOSE LOG");

            // Close the Log
            // (you don't need this, but its better style)
            Log.Close();
        }
    }
}
